package com.laoxu.student.business.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 班级信息VO
 * @Author laoxu
 * @Date 2020/4/6 12:20
 **/
@Data
@ApiModel(value = "ClassVO", description = "班级信息VO")
public class ClassVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "班级ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "班级代码")
    private String classNo;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "所属专业ID")
    @TableField("major_id")
    private Long majorId;

    @ApiModelProperty(value = "所属专业")
    private String majorName;

    @ApiModelProperty(value = "所属院系ID")
    @TableField("dept_id")
    private Long deptId;

    @ApiModelProperty(value = "所属院系")
    private String deptName;

    @ApiModelProperty(value = "班辅导员")
    private String classInstructor;

    @ApiModelProperty(value = "备注")
    private String classRemark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
